<?php
namespace app\command;

use think\console\Command;
use think\console\Input;
use think\console\Output;
use app\api\controller\Index;

class CaoliuCommand extends Command
{
    protected function configure()
    {
        $this->setName('CaoliuCommand')->setDescription('草榴转换');
    }
    protected function execute(Input $input, Output $output)
    {
        $xc = new Index();
        // 获取列表
        $xc->change_caoliu();
    }
}